const partApi = [
  {
    name: 'getPartAddChartPicture',
    method: 'GET',
    desc: '配件入库折线图',
    path: 'part/partAdd/getPartAddChartPicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getPartAddPiePicture',
    method: 'GET',
    desc: '配件入库饼图',
    path: 'part/partAdd/getPartAddPiePicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getPartLeavePiePicture',
    method: 'GET',
    desc: '配件出库饼图',
    path: 'part/partLeave/getPartLeavePiePicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getPartLeaveChartPicture',
    method: 'GET',
    desc: '配件出库折线图',
    path: 'part/partLeave/getPartLeaveChartPicture',
    mockPath: '',
    params: {}
  },
  //=========配件入库========
  {
    name: 'deletePartAdd',
    method: 'POST',
    desc: '删除生产统计 ',
    path: '/part/partAdd/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listPartAdd',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/part/partAdd/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'partAddInfo',
    method: 'GET',
    desc: '',
    path: '/part/partAdd/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'savePartAdd',
    method: 'POST',
    desc: '',
    path: '/part/partAdd/save',
    mockPath: '',
    params: {
      id: '',
      partInfoId: '',
      partNumber: '',
      imageUrl: '',
      personName: '',
      dayTime: '',
      status: ''
    }
  },
  {
    name: 'updatePartAdd',
    method: 'POST',
    desc: '',
    path: '/part/partAdd/update',
    mockPath: '',
    params: {
      id: '',
      partInfoId: '',
      partNumber: '',
      imageUrl: '',
      personName: '',
      dayTime: '',
      status: ''
    }
  },
  //=========配件种类========
  {
    name: 'getPartCategoryList',
    method: 'GET',
    desc: '获取所有配件类别',
    path: '/part/partCategory/getPartCategoryList',
    mockPath: '',
    params: {}
  },
  {
    name: 'deletePartCategory',
    method: 'POST',
    desc: '删除生产统计',
    path: '/part/partCategory/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listPartCategory',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/part/partCategory/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'partCategoryInfo',
    method: 'GET',
    desc: '',
    path: '/part/partCategory/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'savePartCategory',
    method: 'POST',
    desc: '',
    path: '/part/partCategory/save',
    mockPath: '',
    params: {
      id: '',
      partCategoryName: '',
      parentId: '',
      status: ''
    }
  },
  {
    name: 'updatePartCategory',
    method: 'POST',
    desc: '',
    path: '/part/partCategory/update',
    mockPath: '',
    params: {
      id: '',
      partCategoryName: '',
      parentId: '',
      status: ''
    }
  },
  //==========  配件详情  =================
  {
    name: 'getPartInfoList',
    method: 'GET',
    desc: '获取所有配件信息',
    path: '/part/partInfo/getPartInfoList',
    mockPath: '',
    params: {}
  },
  {
    name: 'deletePartInfo',
    method: 'POST',
    desc: ' ',
    path: '/part/partInfo/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listPartInfo',
    method: 'GET',
    desc: '',
    path: '/part/partInfo/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'partInfoInfo',
    method: 'GET',
    desc: '',
    path: '/part/partInfo/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'savePartInfo',
    method: 'POST',
    desc: '',
    path: '/part/partInfo/save',
    mockPath: '',
    params: {
      id: '',
      supplierId: '',
      partName: '',
      partNumber: '',
      partCategoryId: '',
      imageUrl: '',
      personName: '',
      dayTime: '',
      status: ''
    }
  },
  {
    name: 'updatePartInfo',
    method: 'POST',
    desc: '',
    path: '/part/partInfo/update',
    mockPath: '',
    params: {
      id: '',
      supplierId: '',
      partName: '',
      partNumber: '',
      partCategoryId: '',
      imageUrl: '',
      personName: '',
      dayTime: '',
      status: ''
    }
  },
  //========  配件出库==============
  {
    name: 'deletePartLeave',
    method: 'POST',
    desc: ' ',
    path: '/part/partLeave/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listPartLeave',
    method: 'GET',
    desc: '',
    path: '/part/partLeave/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'partLeaveInfo',
    method: 'GET',
    desc: '',
    path: '/part/partLeave/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'savePartLeave',
    method: 'POST',
    desc: '',
    path: '/part/partLeave/save',
    mockPath: '',
    params: {
      id: '',
      partInfoId: '',
      status: ''
    }
  },
  {
    name: 'updatePartLeave',
    method: 'POST',
    desc: '',
    path: '/part/partLeave/update',
    mockPath: '',
    params: {
      id: '',
      partInfoId: '',
      status: ''
    }
  }
]

export default partApi
